package com.sparrow.bean;

import java.io.Serializable;

/**
 * Created by wancheng on 2019/4/13.
 */
public class Message implements Serializable{

    private static final long serialVersionUID = 1L;

    private Integer lessonId;

    private String name;

    private String account;

    private Role role;

    private String msg;

    private Option option;

    private SocketStatus code;

    public Integer getLessonId() {
        return lessonId;
    }

    public void setLessonId(Integer lessonId) {
        this.lessonId = lessonId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Option getOption() {
        return option;
    }

    public void setOption(Option option) {
        this.option = option;
    }

    public SocketStatus getCode() {
        return code;
    }

    public void setCode(SocketStatus code) {
        this.code = code;
    }
}
